Optimal. Leaf size=45 \[ \frac {(c d-b e) x}{c^2}+\frac {e x^2}{2 c}-\frac {b (c d-b e) \log (b+c x)}{c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {779}
\begin {gather*} -\frac {b (c d-b e) \log (b+c x)}{c^3}+\frac {x (c d-b e)}{c^2}+\frac {e x^2}{2 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 779
Rubi steps
\begin {align*} \int \frac {x^2 (d+e x)}{b x+c x^2} \, dx &=\int \left (\frac {c d-b e}{c^2}+\frac {e x}{c}+\frac {b (-c d+b e)}{c^2 (b+c x)}\right ) \, dx\\ &=\frac {(c d-b e) x}{c^2}+\frac {e x^2}{2 c}-\frac {b (c d-b e) \log (b+c x)}{c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 41, normalized size = 0.91 \begin {gather*} \frac {c x (2 c d-2 b e+c e x)+2 b (-c d+b e) \log (b+c x)}{2 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.50, size = 43, normalized size = 0.96
method | result | size |
default | \(-\frac {-\frac {1}{2} c e \,x^{2}+b e x -c d x}{c^{2}}+\frac {b \left (b e -c d \right ) \ln \left (c x +b \right )}{c^{3}}\) | \(43\) |
norman | \(-\frac {\left (b e -c d \right ) x}{c^{2}}+\frac {e \,x^{2}}{2 c}+\frac {b \left (b e -c d \right ) \ln \left (c x +b \right )}{c^{3}}\) | \(44\) |
risch | \(\frac {e \,x^{2}}{2 c}-\frac {b e x}{c^{2}}+\frac {x d}{c}+\frac {b^{2} \ln \left (c x +b \right ) e}{c^{3}}-\frac {b \ln \left (c x +b \right ) d}{c^{2}}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 49, normalized size = 1.09 \begin {gather*} \frac {c x^{2} e + 2 \, {\left (c d - b e\right )} x}{2 \, c^{2}} - \frac {{\left (b c d - b^{2} e\right )} \log \left (c x + b\right )}{c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.66, size = 49, normalized size = 1.09 \begin {gather*} \frac {2 \, c^{2} d x + {\left (c^{2} x^{2} - 2 \, b c x\right )} e - 2 \, {\left (b c d - b^{2} e\right )} \log \left (c x + b\right )}{2 \, c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.09, size = 37, normalized size = 0.82 \begin {gather*} \frac {b \left (b e - c d\right ) \log {\left (b + c x \right )}}{c^{3}} + x \left (- \frac {b e}{c^{2}} + \frac {d}{c}\right ) + \frac {e x^{2}}{2 c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.93, size = 49, normalized size = 1.09 \begin {gather*} \frac {c x^{2} e + 2 \, c d x - 2 \, b x e}{2 \, c^{2}} - \frac {{\left (b c d - b^{2} e\right )} \log \left ({\left | c x + b \right |}\right )}{c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.02, size = 46, normalized size = 1.02 \begin {gather*} x\,\left (\frac {d}{c}-\frac {b\,e}{c^2}\right )+\frac {e\,x^2}{2\,c}+\frac {\ln \left (b+c\,x\right )\,\left (b^2\,e-b\,c\,d\right )}{c^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________